#! /bin/bash

if java -jar Grades.jar 35 35 == "Component Fail"; then
echo "Test Passed"
else
echo "Test Failed"
fi

if java -jar Grades.jar 65 56 == "Pass"; then
echo "Test Passed"
else
echo "Test Failed"
fi

if java -jar Grades.jar 23 63 == "Fail"; then
echo "Test Passed"
else
echo "Test Failed"
fi

if java -jar Grades.jar 76 90 == "Pass with distinction"; then
echo "Test Passed"
else
echo "Test Failed"
fi

if java -jar Grades.jar 96 23 == "Pass"; then
echo "Test Passed"
else
echo "Test Failed"
fi
